package com.ziyun.pop.common.e.order;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * @author gaosheng
 * @Description: 单据类型
 */
public enum BillTypeEnum implements BaseEnum{

    PAYMENTS("payments", "订单支付"),
    REFUNDS("refunds", "退款"),

    ;

    private String code;
    private String describe;

    BillTypeEnum(String code, String describe){
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
